package com.shou.infrastructure.persistent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shou.infrastructure.persistent.po.ParkingSpacePO;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Nemo
* @description 针对表【parkingspace(车位表，记录每个车位的状态和相关信息)】的数据库操作Mapper
* @createDate 2025-02-07 22:10:51
* @Entity generator.domain.Parkingspaces
*/
@Mapper
public interface IParkingSpaceDao extends BaseMapper<ParkingSpacePO> {
    int insertSelective(ParkingSpacePO record);

    int updateByPrimaryKeySelective(ParkingSpacePO record);

    IPage<ParkingSpacePO> selectPageMessageByCondition(IPage<ParkingSpacePO> page, String lotCode, String code, Integer isAvailable, Integer isMemberOnly, Integer userId, String sortName, Integer sort);
}




